#ifndef ENERGYSEVENTSLIST_H_
#define ENERGYSEVENTSLIST_H_
#include <vector>
#include <string>
#include "Poco/DateTime.h"
#include "Poco/DateTimeParser.h"
using namespace Poco;
class Event;
class DateList;

using namespace std;

class EnergysEventsList
{
	private:
		vector<DateList*> energysTyps;
		string name;
	public:
		EnergysEventsList(string name);
		~EnergysEventsList();
		void clear();
		void addEvent(Event*);
		string getName();
		Event getFirst(string name,DateTime date);
		DateTime getDay();
		void print();
		bool noMoreEvents();

};

#endif /*ENERGYSEVENTSLIST_H_*/
